﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;

namespace WebUI
{
    public partial class Popup : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void ShowMessage(String msg)
        {
            lblStatusMessage.Text = msg;
            lblStatusMessage.ForeColor = Color.Black;
        }

        public void UpdateStatus()
        {
            updateFooter.Update();
        }

        public void UpdateAll()
        {
            popupUpdate.Update();
        }

        public void ShowErrorMessage(String msg)
        {
            lblStatusMessage.Text = msg;
            lblStatusMessage.ForeColor = Color.Red;
        }
    }
}
